
cmake_minimum_required(VERSION 3.5.1)

include(cmake/SparkWithGit.cmake)
# spark_include(SparkCMakeInfoBeforeConfig.cmake)

project(form-kylinos-browser LANGUAGES CXX VERSION 0.0.1)

spark_initialize_modules()

# 资源文件路径
set(QRC_SOURCES "")

spark_add_executable_path(${PROJECT_NAME} src
    ${QRC_SOURCES}
)
target_link_qt(${PROJECT_NAME})

find_package(Qt5 COMPONENTS WebEngineWidgets)
spark_add_links_qt5(WebEngineWidgets)
target_link_qt5_WebEngineWidgets(${PROJECT_NAME})

spark_framework_include_with_git(${PROJECT_NAME} 
    https://gitee.com/spark-framework-libs/spark-framework-features
    FEATURES qd version screenutil)

spark_framework_include_with_git(${PROJECT_NAME}
    https://gitee.com/spark-framework-libs/network-access-libs
    FEATURES httpmanager)


